package com.excellent.system.service;

import com.excellent.system.domain.SysWeekNews;

import java.util.List;

/**
 * 具体周报Service接口
 *
 * @author excellent
 * @date 2022-05-05
 */
public interface ISysWeekNewsService
{
    /**
     * 查询具体周报
     *
     * @param id 具体周报ID
     * @return 具体周报
     */
    SysWeekNews selectSysWeekNewsById(Integer id);

    /**
     * 查询具体周报列表
     *
     * @param sysWeekNews 具体周报
     * @return 具体周报集合
     */
    List<SysWeekNews> selectSysWeekNewsList(SysWeekNews sysWeekNews);

    /**
     * 新增具体周报
     *
     * @param sysWeekNews 具体周报
     * @return 结果
     */
    int insertSysWeekNews(SysWeekNews sysWeekNews);

    /**
     * 修改具体周报
     *
     * @param sysWeekNews 具体周报
     * @return 结果
     */
    int updateSysWeekNews(SysWeekNews sysWeekNews);

    /**
     * 批量删除具体周报
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteSysWeekNewsByIds(String ids);

    /**
     * 删除具体周报信息
     *
     * @param id 具体周报ID
     * @return 结果
     */
    int deleteSysWeekNewsById(Integer id);
}
